﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;

namespace LeHouse.Server.WebApi.Common
{
    /// <summary>
    /// 字典
    /// </summary>
    public enum EnumSelectType
    {

        //-----------------------------------------------------------------------------------------------------------------
        #region 现场记录
        /// <summary>
        ///  现场记录表-房屋用途
        /// </summary>
        [Description("房屋用途")]
        HouseUse = 1,
        #endregion
        //-----------------------------------------------------------------------------------------------------------------
        #region 抵押物去状况
        /// <summary>
        /// 抵押物去状况-交通便捷度
        /// </summary>
        [Description("交通便捷度")]
        TrafficConvenience = 2,
        /// <summary>
        /// 抵押物去状况-自然人文环境
        /// </summary>
        [Description("自然人文环境")]
        Humanities = 3,
        /// <summary>
        /// 抵押物去状况-居住社区成熟度
        /// </summary>
        [Description("居住社区成熟度")]
        CommunityMaturity = 4,
        /// <summary>
        /// 抵押物去状况-基础设施配套情况
        /// </summary>
        [Description("基础设施配套情况")]
        FacilityMating = 5,
        /// <summary>
        /// 抵押物去状况-配套设施
        /// </summary>
        [Description("配套设施")]
        MatingFacility = 6,

        #endregion
        //-----------------------------------------------------------------------------------------------------------------
        #region 小区状况
        /// <summary>
        /// 小区状况-小区封闭性
        /// </summary>
        [Description("小区封闭性")]
        CommunityClose = 7,
        /// <summary>
        /// 小区状况-居住小区楼宇构成
        /// </summary>
        [Description("居住小区楼宇构成")]
        BuildingConstitute = 8,
        /// <summary>
        /// 小区状况-交通组织方式
        /// </summary>
        [Description("交通组织方式")]
        TrafficOrganization = 9,
        /// <summary>
        /// 小区状况-景观及绿化
        /// </summary>
        [Description("景观及绿化")]
        Landscape = 10,
        /// <summary>
        /// 小区状况-容积率
        /// </summary>
        [Description("容积率")]
        PlotRatio = 11,
        /// <summary>
        /// 小区状况-车位状况
        /// </summary>
        [Description("车位状况")]
        CarportStatus = 12,
        /// <summary>
        /// 小区状况-物业公司
        /// </summary>
        [Description("物业公司")]
        PropertyManagement = 13,
        #endregion
        //-----------------------------------------------------------------------------------------------------------------
        #region 建筑公共部位状况
        /// <summary>
        /// 建筑公共部位状况-房屋结构
        /// </summary>
        [Description("房屋结构")]
        HousesStructure = 14,
        /// <summary>
        /// 建筑公共部位状况-建筑类型
        /// </summary>
        [Description("建筑类型")]
        BuildingType = 15,
        /// <summary>
        /// 建筑公共部位状况-外立面装饰
        /// </summary>
        [Description("外立面装饰")]
        ExternalWalls = 16,
        /// <summary>
        /// 建筑公共部位状况-公共部位装修
        /// </summary>
        [Description("公共部位装修")]
        PublicDecoration = 17,
        /// <summary>
        /// 建筑公共部位状况-电梯
        /// </summary>
        [Description("电梯")]
        Elevator = 18,
        /// <summary>
        /// 建筑公共部位状况-供气
        /// </summary>
        [Description("供气")]
        GasSupply = 19,
        /// <summary>
        /// 建筑公共部位状况-供水
        /// </summary>
        [Description("供水")]
        WaterSupply = 20,
        /// <summary>
        /// 建筑公共部位状况-供暖
        /// </summary>
        [Description("供暖")]
        Heating = 21,

        /// <summary>
        /// 建筑公共部位状况-门禁系统
        /// </summary>
        [Description("门禁系统")]
        DoorSecurity = 22,
        #endregion
        //-----------------------------------------------------------------------------------------------------------------
        #region 户内部分
        /// <summary>
        /// 户内部分-朝向
        /// </summary>
        [Description("朝向")]
        Orientation = 23,
        /// <summary>
        /// 户内部分-住宅类型
        /// </summary>
        [Description("住宅类型")]
        HouseForm = 24,
        /// <summary>
        /// 户内部分-客厅
        /// </summary>
        [Description("客厅")]
        EachHouseDecoration = 25,


        #endregion
        /// <summary>
        /// 户内部分-客厅 (装修情况)
        /// </summary>
        [Description("客厅1")]
        EachHouseDecoration1 = 26,

        /// <summary>
        /// 房屋产别
        /// </summary>
        [Description("房屋产别")]
        HousesType =30,
        /// <summary>
        /// 房屋产别
        /// </summary>
        [Description("来源属性")]
        HousesNature = 31,
        /// <summary>
        /// 房屋产别
        /// </summary>
        [Description("共有情况")]
        HousesOwnedCase = 32,

        ///// <summary>
        ///// 户内部分-客厅
        ///// </summary>
        //[Description("客厅2")]
        //EachHouseDecoration2 = 29,
        ///// <summary>
        ///// 户内部分-客厅
        ///// </summary>
        //[Description("客厅3")]
        //EachHouseDecoration3 = 30,

        /// <summary>
        ///  添加用户信息页面-报告类型
        /// </summary>
        [Description("报告类型")]
        P_reportID = 40,
        /// <summary>
        /// 房屋来源
        /// </summary>
        [Description("来源 ")]
        Source = 41,
        /// <summary>
        /// 抵押物去状况-位置环绕
        /// </summary>
        [Description("位置环绕")]
        MatingFacilitys = 42,

        /// <summary>
        /// 估价目的
        /// </summary>
        [Description("估价目的")]
        ValuationName = 43,


    }

    /// <summary>
    /// 项目状态
    /// </summary>
    public enum EnumSelectState
    {
        /// <summary>
        /// 待约勘
        /// </summary>
        [Description("待约勘")]
        waitProspect = 0,
        /// <summary>
        /// 待查勘
        /// </summary>
        [Description("待查勘")]
        waitProspect2 = 1,
        /// <summary>
        /// 已查勘
        /// </summary>
        [Description("已查勘")]
        finishProspect = 2,/// <summary>
        /// 待审核
        /// </summary>
        [Description("待审核")]
        waitAudit = 3,
        /// <summary>
        /// 初审未通过
        /// </summary>
        [Description("初审未通过")]
        InitialAuditNotPass = 4,
        /// <summary>
        /// 初审通过
        /// </summary>
        [Description("初审通过")]
        InitialAuditPass = 5,
        /// <summary>
        /// 终审未通过
        /// </summary>
        [Description("终审未通过")]
        lastInstanceNotPass = 6,
        /// <summary>
        /// 终审通过
        /// </summary>
        [Description("终审通过")]
        lastInstancePass = 7,
    }

    /// <summary>
    /// 数据状态
    /// </summary>
    public enum EnumState
    {
        /// <summary>
        /// 禁用
        /// </summary>
        [Description("禁用")]
        StateNO = 0,
        /// <summary>
        /// 启用
        /// </summary>
        [Description("启用")]
        StateOK = 1,
    }
}